<div id="sidebar">
	<div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
		<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
	  
		<!-- Logo (221px wide) -->
		<a href="#"><img id="logo" src="../../images/logo.png" alt="约漫" /></a>
	  
		<!-- Sidebar Profile links -->
		<div id="profile-links">
			Hello, <a href="#" title="Edit your profile">John Doe</a>, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a><br />
			<br />
			<a href="#" title="View the Site">View the Site</a> | <a href="#" title="Sign Out">Sign Out</a>
		</div>        
		
		<ul id="main-nav">  <!-- Accordion Menu -->
			<li>
				<a href="http://www.wocing.com/" target="_blank" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
					窝巢网
				</a>
			</li>
			<li> 
				<!-- Add the class "current" to current menu item -->
				<a href="#" class="nav-top-item" id="nav-order">订单管理</a>
				<ul>
					<li><a href="<?php echo site_url('order/express');?>" sign="order/express">快递公司管理</a></li>
					<li><a href="<?php echo site_url('order/from');?>" sign="order/from">订单来源</a></li>
					<li><a href="<?php echo site_url('order/order');?>" sign="order/order">订单列表</a></li>
					<li><a href="<?php echo site_url('order/order/s');?>" target="_blank">订单列表(发货专用)</a></li>
				</ul>
			</li>
			
			<li>
				<a href="#" class="nav-top-item" id="nav-customer">客户管理</a>
				<ul>
					<li><a href="<?php echo site_url('customer/customer');?>" sign="customer/customer">客户管理</a></li>
				</ul>
			</li>
			
			<li>
				<a href="#" class="nav-top-item">
					Image Gallery
				</a>
				<ul>
					<li><a href="#">Upload Images</a></li>
					<li><a href="#">Manage Galleries</a></li>
					<li><a href="#">Manage Albums</a></li>
					<li><a href="#">Gallery Settings</a></li>
				</ul>
			</li>
			
			<li>
				<a href="#" class="nav-top-item">
					Events Calendar
				</a>
				<ul>
					<li><a href="#">Calendar Overview</a></li>
					<li><a href="#">Add a new Event</a></li>
					<li><a href="#">Calendar Settings</a></li>
				</ul>
			</li>
			
			<li>
				<a href="#" class="nav-top-item">
					Settings
				</a>
				<ul>
					<li><a href="#">General</a></li>
					<li><a href="#">Design</a></li>
					<li><a href="#">Your Profile</a></li>
					<li><a href="#">Users and Permissions</a></li>
				</ul>
			</li>      
			
		</ul> <!-- End #main-nav -->
		
		<div id="messages" style="display: none"> <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal"  -->
			
			<h3>3 Messages</h3>
		 
			<p>
				<strong>17th May 2009</strong> by Admin<br />
				Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
				<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
			</p>
		 
			<p>
				<strong>2nd May 2009</strong> by Jane Doe<br />
				Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.
				<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
			</p>
		 
			<p>
				<strong>25th April 2009</strong> by Admin<br />
				Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
				<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
			</p>
			
			<form action="#" method="post">
				
				<h4>New Message</h4>
				
				<fieldset>
					<textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
				</fieldset>
				
				<fieldset>
				
					<select name="dropdown" class="small-input">
						<option value="option1">Send to...</option>
						<option value="option2">Everyone</option>
						<option value="option3">Admin</option>
						<option value="option4">Jane Doe</option>
					</select>
					
					<input class="button" type="submit" value="Send" />
					
				</fieldset>
				
			</form>
			
		</div> <!-- End #messages -->
	</div>
</div> <!-- End #sidebar -->
<script type="text/javascript">
	var topMenu = "<?php echo $menus[0];?>";
	var secondMenu = "<?php echo $menus[1];?>";
	var $topMenu = $("#"+topMenu);
	$topMenu.addClass("current");
	$topMenu.next("ul").find("a[sign="+secondMenu+"]").addClass("current");

	var site_url = "<?php echo $site_url;?>";
</script>
		